# coding=utf-8
while True:print(input().title())